See aberration ("deviation or error of understanding"), mental ("relating to the mind").
MENTAL ABERRATION colloquially is an expression that applies to sayings that are considered irrational, illogical, as if they were emitted by a deranged mind. It's a euphemism for absurdity, insanity.